package com.itheima.health.mapper;

import com.github.pagehelper.Page;
import com.itheima.health.pojo.CheckGroup;
import com.itheima.health.pojo.Setmeal;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author zhangmeng
 * @description j检查组dao层
 * @date 2019/9/16
 **/
@Mapper
public interface ChecksetmealMapper {


    //查询检查套餐分类数据
    Page<Setmeal> getsetmealDATA(String queryString);

    //查询新增套餐下所有的检查组
    List<CheckGroup> serlactDATA();

    //新增套餐
    void setnewlySetmeal(Setmeal setmeal);

    //新增检查组与检查套餐的id对应关联
    void relevance(Integer id, Integer checkgroupId);
}
